<template>
    <div class="img">
        <div class="font">
            {{ title }}
        </div>
    </div>
</template>

<script>
export default {
    name: "titleComponents",
    props: {
        title: {
            type: String,
        }
    }
}

</script>

<style scoped>
.img {
    background: url(https://www.rednanjing.cn/themes/simpleboot3/assets/images/bg_title.png) center left / contain no-repeat;
    width: 100%;
    height: 70px;
    margin: 10px 0px;
}

.font {
    position: absolute;
    top: 41px;
    left: 4%;
    font-size: 23px;
    color: white;
    font-weight: 800;
}
</style>